package _1;

public class UseEmpInfo {
    public static void main(String[] args) {
        EmpInfo e = new EmpInfo();
        e.print();
    }
}

class EmpInfo{
    String name = "zhang san";
    String designation = "worker";
    String department = "coff shop";
    public void print(){
        System.out.println(name + " is a " + designation + " at " + department);
    }
}
